package org.springblade.modules.repair.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "配件分类对象", description = "配件分类对象")
public class MaintainPartsVO {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	protected Long id;

	/**
	 * 父节点ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	protected Long parentId;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 隐藏 0-隐藏，1-显示
	 */
	private Integer hidden;

	/**
	 * 创建时间
	 */
	private Date createTime;

}
